package com.example.shirotest.quartz;

import com.example.shirotest.console.Maingeter;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

public class GetDataJob implements Job {
    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
        Maingeter maingeter = (Maingeter)ApplicationContextUtils.getBean("Maingeter");
        maingeter.runGeter();
    }
}
